module.exports = (app) => {
  const mongoose = app.mongoose;
  const Schema = mongoose.Schema;

  const BaseSaleAttrsSchema = new Schema({
    name: {
      type: String,
      required: true,
    },
    isAdmin: {
      type: Boolean,
      default: false,
    }
  });

  return mongoose.model("BaseSaleAttrs", BaseSaleAttrsSchema, "BaseSaleAttrs");
};
